<?php
/** @var $this yii\web\View
 * @var $model common\modules\content\models\WidgetCarouselItem
 * @var $carousel common\modules\content\models\WidgetCarousel
 */
$this->title = Yii::t('backend', 'Create {modelClass}', [
    'modelClass' => 'Widget Carousel Item'
]);
$this->params['breadcrumbs'][] = [
    'label' => Yii::t('backend', 'Widget Carousel Items'),
    'url' => [
        'index'
    ]
];
$this->params['breadcrumbs'][] = [
    'label' => $carousel->key,
    'url' => [
        'update',
        'id' => $carousel->id
    ]
];
$this->params['breadcrumbs'][] = Yii::t('backend', 'Create');
?>
<div class="widget-carousel-item-create">

    <?= $this->render('_form', [
        'model' => $model
    ])?>

</div>
